package com.aaa.qy127.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


public class Type implements Serializable {
    private static final long serialVersionUID = 3467414667673734512L;
    private Integer typeid;
    private String typename;
    private Integer tcount;

    private int page;
    private int limit;

    public Type() {
    }

    public Type(Integer typeid, String typename, Integer tcount, int page, int limit) {
        this.typeid = typeid;
        this.typename = typename;
        this.tcount = tcount;
        this.page = page;
        this.limit = limit;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public Integer getTcount() {
        return tcount;
    }

    public void setTcount(Integer tcount) {
        this.tcount = tcount;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    @Override
    public String toString() {
        return "Type{" +
                "typeid=" + typeid +
                ", typename='" + typename + '\'' +
                ", tcount=" + tcount +
                ", page=" + page +
                ", limit=" + limit +
                '}';
    }
}
